package com.ambimmort.shj.action.Lsl;

import com.ambimmort.shj.service.LslService.RSUService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by ma on 2015/7/30.
 */
@Controller("/action/common/delete_protocol_bank.do")
public class Show_Del_Pro_Character_Library {

    @Autowired
    private RSUService rsuService;

    @RequestMapping("/action/common/delete_protocol_bank.do")
    @ResponseBody
    public boolean action_crm(HttpServletRequest request, @RequestParam("ids") String ids) {
        try {
            rsuService.show_Del_Pro_Character_LibraryService(ids);
            return true;
        } catch (Throwable throwable) {
            throwable.printStackTrace();
            return false;
        }
    }
}
